﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePwd.aspx.cs" Inherits="ChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Style/registerStyle.css" rel="stylesheet" />
    <style>
        .login-button{
            width:200px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="daohangliebiao" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="status_lan" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content2" Runat="Server">
    <table style="height:150px;width:420px;" class="login-form">
        <tr>
            <td colspan="2" style="text-align: center; font-size: large" class="labelstyle">修改密码
            </td>
        </tr>
        <tr>
            <td class="labelstyle">
                <asp:Label ID="label1" Text="原密码：" runat="server"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPwdOld" runat="server" CssClass="textbox-style"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="labelstyle">
                <asp:Label ID="label2" Text="新密码：" runat="server"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPwd" runat="server" CssClass="textbox-style"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="labelstyle">
                <asp:Label ID="label3" Text="确认新密码：" runat="server"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPwd2" runat="server" CssClass="textbox-style"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPwd" ControlToValidate="txtPwd2" ErrorMessage="两次密码不一致">！</asp:CompareValidator>
            </td>
        </tr>
        <tr style="text-align:right">
            <td colspan="2" style="text-align:center">
                <asp:Button ID="btnOk" runat="server" Text="确认修改" OnClick="btnOk_Click" CssClass="login-button"/>
            </td>
        </tr>
        <tr>
            <td colspan="2" >
                <asp:Label ID="lblMsg" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>

